package com.songlanyun.modules.ship.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.songlanyun.common.drive.RootEntity;
import lombok.Data;

/**
 * 订单包裹的明细
 * 
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2020-11-19 13:49:33
 */
@Data
@TableName("yxt_sale_order_package_item")
public class OrderPackageItem extends RootEntity<Long,OrderPackageItem> implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 包裹id
	 */
	private Long goodsPackageId;
	/**
	 * 订单id
	 */
	private Long orderId;
	/**
	 * 主订单id
	 */
	private Long childOrderId;
	/**
	 * 商品id
	 */
	private Long goodsId;
	/**
	 * 商品标题
	 */
	private String goodsTitle;
	/**
	 * 商品封面图片
	 */
	private String goodsImg;
	/**
	 * sku的文本
	 */
	private String skuSetName;
	/**
	 * 商品数量
	 */
	private Integer number;

	@Override
	public Long getIdentity() {
		return getId();
	}
}
